package com.dingreading.cloud.soms.dto;

import com.mybatisflex.annotation.ColumnMask;
import com.mybatisflex.annotation.RelationOneToOne;
import com.mybatisflex.core.mask.Masks;
import lombok.Data;

import java.io.Serializable;

/**
 * 实体类。
 *
 * @author Administrator
 * @since 2023-11-22
 */
@Data
public class MemberBorrowDto implements Serializable {

    private String storeUid;

    private String uid;

    private String fullName;

    private String nickName;

    private String memberName;

    private String mob;

    /**
     * 类型 1.收款 2.退款
     */
    private Integer type;

    @RelationOneToOne(
            selfField = "storeUid",
            targetTable = "stores",
            targetField = "uid",
            valueField = "storeName"
    )
    private String storeName;

}
